import { request } from "@/utils/request";

const basePrefix = '/ht-smart-house'


// 字典查询
export const getDictConfigListByType = (type) => {
    return request({
        url: `${basePrefix}/dictConfig/getDictConfigListByType?type=${type}`,
        method: 'GET'
    })
}

// 门锁列表
export const getUserLockInfoApi = (data) => {
    return request({
        url: `/ht-smart-house/lifeServiceManage/getUserLockInfo`,
        method: 'POST',
        data:data
    })
}
// 房间密码获取
export const getTemporaryPasswordApi = (data) => {
    return request({
        url: `/ht-smart-house/lifeServiceManage/getTemporaryPassword`,
        method: 'POST',
        data:{
            accountNumber: data
        }
    })
}
